bitkeeper revision 1.1108.35.8 (410a4c09l7HPWH1kBbpNNv0UFUHvCA)
authormjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Fri, 30 Jul 2004 13:24:25 +0000 (13:24 +0000)
committermjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Fri, 30 Jul 2004 13:24:25 +0000 (13:24 +0000)
Add missing call for console disconnect.

tools/python/xen/xend/XendClient.py

index cc5b06fd102dbabb0ac0050a33920a5f2aebc348..da856ee8b47b2bda6faa81ad22f2eb70c6343a65 100644 (file)
@@ -554,6 +554,10 @@ class Xend:
     def xend_console(self, id):
         return self.xendGet(self.consoleurl(id))
 
+    def xend_console_disconnect(self, id):
+        return self.xendPost(self.consoleurl(id),
+                             {'op'      : 'disconnect'})
+
     def xend_vnets(self):
         return self.xendGet(self.vneturl())